import { getStorage } from "../../utils/storage"
Component({
  options: {
    styleIsolation: 'shared'
  },
  properties: {
    active: {
      type: Number,
      value: 0
    }
  },
  data: {
    url: '/pages/activity/activity'
  },

  methods: {
    change(e) {
    }
  },
  lifetimes: {
    attached() {
      var roleId = getStorage('roleId');
      if (roleId === 2)
        url = "/pages/teacher/activity/activity";
    }
  }
})